package com.ruoyi.hcmain.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收录信息对象 hc_receive
 * 
 * @author kylin
 * @date 2023-08-14
 */
@Data
public class HcReceive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long receiveId;

    /** 物料 */
    @Excel(name = "物料")
    private Long stuiffId;

    /** 数量 */
    @Excel(name = "数量")
    private Long counts;

    /** 价格 */
    @Excel(name = "价格")
    private Long pricesId;

    /** 入库信息 */
    @Excel(name = "入库信息")
    private Long stockId;

    /** 状态 */
    private String status;

    /** 是否删除 */
    private Long isDelete;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal prices;

    /** 总价格 */
    @Excel(name = "总价格")
    private BigDecimal priall;

    private HcStuff stuff;
    private HcStock stock;

    public void setReceiveId(Long receiveId) 
    {
        this.receiveId = receiveId;
    }

    public Long getReceiveId() 
    {
        return receiveId;
    }
    public void setStuiffId(Long stuiffId) 
    {
        this.stuiffId = stuiffId;
    }

    public Long getStuiffId() 
    {
        return stuiffId;
    }
    public void setCounts(Long counts) 
    {
        this.counts = counts;
    }

    public Long getCounts() 
    {
        return counts;
    }
    public void setPricesId(Long pricesId) 
    {
        this.pricesId = pricesId;
    }

    public Long getPricesId() 
    {
        return pricesId;
    }
    public void setStockId(Long stockId) 
    {
        this.stockId = stockId;
    }

    public Long getStockId() 
    {
        return stockId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }
    public void setPrices(BigDecimal prices) 
    {
        this.prices = prices;
    }

    public BigDecimal getPrices() 
    {
        return prices;
    }
    public void setPriall(BigDecimal priall) 
    {
        this.priall = priall;
    }

    public BigDecimal getPriall() 
    {
        return priall;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("receiveId", getReceiveId())
            .append("stuiffId", getStuiffId())
            .append("counts", getCounts())
            .append("createTime", getCreateTime())
            .append("pricesId", getPricesId())
            .append("stockId", getStockId())
            .append("status", getStatus())
            .append("isDelete", getIsDelete())
            .append("prices", getPrices())
            .append("priall", getPriall())
            .toString();
    }
}
